import useRequest from "@/utils/request";

const request = useRequest({});
// 商家取消订单
export function cancelOrder(params: any) {
  return request.get("/cj-stadium/sys/order/cancelOrder", {
    params,
  });
}
// 商家确认订单
export function confirmOrder(params: any) {
  return request.get("/cj-stadium/sys/order/confirmOrder", {
    params,
  });
}